package com.item.yxlottery.yxlottery.adapter;

/*
 *------------------------------
 * @创建者      Administrator
 * @创建时间    2016/12/19 11:04
 * @文件描述    双色球红球adapter
 *------------------------------
 */

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.item.yxlottery.yxlottery.R;
import com.item.yxlottery.yxlottery.bean.BallBean;

import java.util.List;

public class SsqRedBallAdapter extends BaseQuickAdapter<BallBean, BaseViewHolder> {

    public SsqRedBallAdapter(int layoutResId, List<BallBean> data) {
        super(layoutResId, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, BallBean item) {
        helper.setText(R.id.tv_item_lottery_redball, item.getText());
    }
}
